package org.Image.management.ViewCofig.file;

import lombok.Getter;

import java.net.URL;

@Getter
public enum FxmlPath {
    Login("login", "./UI/Fxml/LoginUi.fxml"),
    Main("main", "./UI/Fxml/GameUi.fxml"),
    Enroll("enroll", "./UI/Fxml/EnrollUi.fxml");

    private final String fileName;
    private final URL fileURL;

    FxmlPath(String fileName, String file) {
        this.fileName = fileName;
        this.fileURL = FxmlPath.class.getResource(file);
    }

    @Override
    public String toString() {
        return fileName;
    }
}
